package cn.xiaoqintools.studypark.base;



/**
 * Created by zzd on 2015/10/24.
 */
public class AppContext extends BaseApplication {

    private static AppContext instance;

    private boolean login;

    private boolean isUserInfChanged;

//    public static RefWatcher getRefWatcher(Context context) {
//        AppContext application = (AppContext) context
//                .getApplicationContext();
//        return application.refWatcher;
//    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        init();
    }

    private void init() {

    }

    /**
     * 获得当前app运行的AppContext
     *
     * @return
     */
    public static AppContext getInstance() {
        return instance;
    }

    public boolean isLogin() {
        return login;
    }






}
